package entity;

/**
 *
 * @author Noi
 */
public class Subject {

    private int subjectID;
    private int classRoomBlockID;
    private String subjectName;
    private int classPeriod;
    private int pointTypeID;
    private boolean status;

    public Subject(int subjectID, int classRoomBlockID, String subjectName, int classPeriod, int pointTypeID, boolean status) {
        this.subjectID = subjectID;
        this.classRoomBlockID = classRoomBlockID;
        this.subjectName = subjectName;
        this.classPeriod = classPeriod;
        this.pointTypeID = pointTypeID;
        this.status = status;
    }

    public int getClassPeriod() {
        return classPeriod;
    }

    public void setClassPeriod(int classPeriod) {
        this.classPeriod = classPeriod;
    }

    public int getClassRoomBlockID() {
        return classRoomBlockID;
    }

    public void setClassRoomBlockID(int classRoomBlockID) {
        this.classRoomBlockID = classRoomBlockID;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getSubjectID() {
        return subjectID;
    }

    public void setSubjectID(int subjectID) {
        this.subjectID = subjectID;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public int getPointTypeID() {
        return pointTypeID;
    }

    public void setPointTypeID(int pointTypeID) {
        this.pointTypeID = pointTypeID;
    }

    @Override
    public String toString() {
        return this.subjectName;
    }
    
}
